

Project 'VGG16_1FC.Exp07.AonA.10p.masked.fold_2':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 80 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
10       0               Asteromphalus.labId_6835     4           4           0
4        1                 Chaetoceros.labId_6813     4           4           0
1        2 Fragilariopsis kerguelensis.labId_8356    25          25           0
8        3     Fragilariopsis rhombica.labId_8362     4           4           0
6        4                   Nitzschia.labId_6758     4           4           0
3        5             Pseudonitzschia.labId_8364    10          10           0
9        6                Rhizosolenia.labId_6776     8           8           0
2        7           Silicoflagellate.labId_10255    11          11           0
7        8     Thalassiosira gracilis.labId_10366     5           5           0
5        9  Thalassiosira lentiginosa.labId_10369     5           5           0
11      NA                                    Sum    80          80           0

Validation: 26 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
8        0               Asteromphalus.labId_6835     1           1           0
2        1                 Chaetoceros.labId_6813     2           2           0
1        2 Fragilariopsis kerguelensis.labId_8356     7           7           0
10       3     Fragilariopsis rhombica.labId_8362     1           1           0
6        4                   Nitzschia.labId_6758     2           2           0
9        5             Pseudonitzschia.labId_8364     3           3           0
7        6                Rhizosolenia.labId_6776     3           3           0
5        7           Silicoflagellate.labId_10255     3           3           0
3        8     Thalassiosira gracilis.labId_10366     2           2           0
4        9  Thalassiosira lentiginosa.labId_10369     2           2           0
11      NA                                    Sum    26          26           0

Test: 32 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
10       0               Asteromphalus.labId_6835     1           1           0
9        1                 Chaetoceros.labId_6813     2           2           0
5        2 Fragilariopsis kerguelensis.labId_8356    10          10           0
7        3     Fragilariopsis rhombica.labId_8362     1           1           0
6        4                   Nitzschia.labId_6758     2           2           0
2        5             Pseudonitzschia.labId_8364     4           4           0
3        6                Rhizosolenia.labId_6776     4           4           0
1        7           Silicoflagellate.labId_10255     4           4           0
8        8     Thalassiosira gracilis.labId_10366     2           2           0
4        9  Thalassiosira lentiginosa.labId_10369     2           2           0
11      NA                                    Sum    32          32           0

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 8


Evaluating trained model for project 'VGG16_1FC.Exp07.AonA.10p.masked.fold_2':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction  0  1  2  3  4  5  6  7  8  9
         0  1  0  0  0  0  0  0  0  0  0
         1  0  2  0  0  0  0  0  0  0  0
         2  0  0 10  1  0  0  0  0  0  0
         3  0  0  0  0  0  0  0  0  0  0
         4  0  0  0  0  2  0  0  0  0  0
         5  0  0  0  0  0  4  1  0  0  0
         6  0  0  0  0  0  0  3  0  0  0
         7  0  0  0  0  0  0  0  4  0  0
         8  0  0  0  0  0  0  0  0  2  0
         9  0  0  0  0  0  0  0  0  0  2

Overall Statistics
                                          
               Accuracy : 0.9375          
                 95% CI : (0.7919, 0.9923)
    No Information Rate : 0.3125          
    P-Value [Acc > NIR] : 1.691e-13       
                                          
                  Kappa : 0.9246          
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             1.00000   1.0000   0.9091       NA   1.0000   0.8000  1.00000    1.000   1.0000   1.0000
Recall                1.00000   1.0000   1.0000  0.00000   1.0000   1.0000  0.75000    1.000   1.0000   1.0000
F1                    1.00000   1.0000   0.9524       NA   1.0000   0.8889  0.85714    1.000   1.0000   1.0000
Prevalence            0.03125   0.0625   0.3125  0.03125   0.0625   0.1250  0.12500    0.125   0.0625   0.0625
Detection Rate        0.03125   0.0625   0.3125  0.00000   0.0625   0.1250  0.09375    0.125   0.0625   0.0625
Detection Prevalence  0.03125   0.0625   0.3438  0.00000   0.0625   0.1562  0.09375    0.125   0.0625   0.0625
Balanced Accuracy     1.00000   1.0000   0.9773  0.50000   1.0000   0.9821  0.87500    1.000   1.0000   1.0000

$statistics
   class                              className TP FP FN precision recall        F1
1      0               Asteromphalus.labId_6835  1  0  0 1.0000000   1.00 1.0000000
2      1                 Chaetoceros.labId_6813  2  0  0 1.0000000   1.00 1.0000000
3      2 Fragilariopsis kerguelensis.labId_8356 10  1  0 0.9090909   1.00 0.9523810
4      3     Fragilariopsis rhombica.labId_8362  0  0  1 0.0000000   0.00 0.0000000
5      4                   Nitzschia.labId_6758  2  0  0 1.0000000   1.00 1.0000000
6      5             Pseudonitzschia.labId_8364  4  1  0 0.8000000   1.00 0.8888889
7      6                Rhizosolenia.labId_6776  3  0  1 1.0000000   0.75 0.8571429
8      7           Silicoflagellate.labId_10255  4  0  0 1.0000000   1.00 1.0000000
9      8     Thalassiosira gracilis.labId_10366  2  0  0 1.0000000   1.00 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369  2  0  0 1.0000000   1.00 1.0000000

$macro
$macro$precision
[1] 0.8709091

$macro$recall
[1] 0.875

$macro$F1
[1] 0.8698413

$macro$F1.Sokolova_Lapalme
[1] 0.8729498


$micro
$micro$precision
[1] 0.9375

$micro$recall
[1] 0.9375

$micro$F1
[1] 0.9375


